package cn.bisoft.java.util.os;

import java.sql.Date;
import java.text.SimpleDateFormat;

public class DateUtil
{
	public static String format(String format)
	{
		Date dt = new Date(System.currentTimeMillis());
		
		SimpleDateFormat sdf = new SimpleDateFormat(format);
		
		return sdf.format(dt);
	}
}
